Remove FastAPI upper constraint#58524
Conversation
|
Marked for |
Good idea. |
|
Good idea to have a newsfragment about it |
|
This PR makes any task taking more than |
|
@vincbeck That's.... super odd. The way the token renewal was working is that when the token was checked in the dep, if it was found to have less than 20% of the total validity left, a new one was generated and put in a specially named header airflow/airflow-core/src/airflow/api_fastapi/execution_api/deps.py Lines 146 to 148 in cc16dd6 Perhaps that "Defined as a "mapping type", but 99.9% of the time it's a mutable dict" is no longer true. Oh, it should hit first.Either way, do you see anything in your logs about "Error refreshing Task JWT"? |
Nop, I only see Given the significant written by Pierre: I would say it is probably due to the fastapi upgrade because I can see in |
|
Created an issue: #58775 |
* Remove fastapi upper constraint * Fix CI * Fix CI * Add newsfragment
* Remove fastapi upper constraint * Fix CI * Fix CI * Add newsfragment
Cadwyn was fixed (zmievsa/cadwyn#305) and doesn't prevent us from upgrading to
fastapi >= 0.121.0anymore to benefit from the recently addedscopefeature for dependencies. (fastapi/fastapi#14262)